package com.iyoudoock.citymine.activity.setting;

import android.os.Bundle;

import com.iyoudoock.citymine.BaseActivity;
import com.iyoudoock.citymine.R;
import com.iyoudoock.citymine.constants.Key;
import com.kvin.toolkit.widget.KvinWebView;

import butterknife.BindView;
import butterknife.ButterKnife;

public class HelpActivity extends BaseActivity {

    @BindView(R.id.m_wv)
    KvinWebView mWv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_help);
        ButterKnife.bind(this);
    }

    @Override
    public void initNav() {
        setTitle(getIntent().getStringExtra(Key.Tag.TITLE));
    }


    @Override
    public void init() {
        String url=getIntent().getStringExtra(Key.Tag.URL);
        mWv.loadUrl(url);
    }
}
